Optimal. Leaf size=94 \[ -\frac {1}{21} (2 x+3)^2 \left (3 x^2+2\right )^{5/2}+\frac {2}{315} (160 x+611) \left (3 x^2+2\right )^{5/2}+\frac {397}{36} x \left (3 x^2+2\right )^{3/2}+\frac {397}{12} x \sqrt {3 x^2+2}+\frac {397 \sinh ^{-1}\left (\sqrt {\frac {3}{2}} x\right )}{6 \sqrt {3}} \]
________________________________________________________________________________________
Rubi [A] time = 0.04, antiderivative size = 94, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 4, integrand size = 24, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.167, Rules used = {833, 780, 195, 215} \begin {gather*} -\frac {1}{21} (2 x+3)^2 \left (3 x^2+2\right )^{5/2}+\frac {2}{315} (160 x+611) \left (3 x^2+2\right )^{5/2}+\frac {397}{36} x \left (3 x^2+2\right )^{3/2}+\frac {397}{12} x \sqrt {3 x^2+2}+\frac {397 \sinh ^{-1}\left (\sqrt {\frac {3}{2}} x\right )}{6 \sqrt {3}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 195
Rule 215
Rule 780
Rule 833
Rubi steps
\begin {align*} \int (5-x) (3+2 x)^2 \left (2+3 x^2\right )^{3/2} \, dx &=-\frac {1}{21} (3+2 x)^2 \left (2+3 x^2\right )^{5/2}+\frac {1}{21} \int (3+2 x) (323+192 x) \left (2+3 x^2\right )^{3/2} \, dx\\ &=-\frac {1}{21} (3+2 x)^2 \left (2+3 x^2\right )^{5/2}+\frac {2}{315} (611+160 x) \left (2+3 x^2\right )^{5/2}+\frac {397}{9} \int \left (2+3 x^2\right )^{3/2} \, dx\\ &=\frac {397}{36} x \left (2+3 x^2\right )^{3/2}-\frac {1}{21} (3+2 x)^2 \left (2+3 x^2\right )^{5/2}+\frac {2}{315} (611+160 x) \left (2+3 x^2\right )^{5/2}+\frac {397}{6} \int \sqrt {2+3 x^2} \, dx\\ &=\frac {397}{12} x \sqrt {2+3 x^2}+\frac {397}{36} x \left (2+3 x^2\right )^{3/2}-\frac {1}{21} (3+2 x)^2 \left (2+3 x^2\right )^{5/2}+\frac {2}{315} (611+160 x) \left (2+3 x^2\right )^{5/2}+\frac {397}{6} \int \frac {1}{\sqrt {2+3 x^2}} \, dx\\ &=\frac {397}{12} x \sqrt {2+3 x^2}+\frac {397}{36} x \left (2+3 x^2\right )^{3/2}-\frac {1}{21} (3+2 x)^2 \left (2+3 x^2\right )^{5/2}+\frac {2}{315} (611+160 x) \left (2+3 x^2\right )^{5/2}+\frac {397 \sinh ^{-1}\left (\sqrt {\frac {3}{2}} x\right )}{6 \sqrt {3}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.05, size = 65, normalized size = 0.69 \begin {gather*} \frac {27790 \sqrt {3} \sinh ^{-1}\left (\sqrt {\frac {3}{2}} x\right )-\sqrt {3 x^2+2} \left (2160 x^6-5040 x^5-36252 x^4-48405 x^3-51216 x^2-71715 x-17392\right )}{1260} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
IntegrateAlgebraic [A] time = 0.31, size = 76, normalized size = 0.81 \begin {gather*} \frac {\sqrt {3 x^2+2} \left (-2160 x^6+5040 x^5+36252 x^4+48405 x^3+51216 x^2+71715 x+17392\right )}{1260}-\frac {397 \log \left (\sqrt {3 x^2+2}-\sqrt {3} x\right )}{6 \sqrt {3}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 0.42, size = 70, normalized size = 0.74 \begin {gather*} -\frac {1}{1260} \, {\left (2160 \, x^{6} - 5040 \, x^{5} - 36252 \, x^{4} - 48405 \, x^{3} - 51216 \, x^{2} - 71715 \, x - 17392\right )} \sqrt {3 \, x^{2} + 2} + \frac {397}{36} \, \sqrt {3} \log \left (-\sqrt {3} \sqrt {3 \, x^{2} + 2} x - 3 \, x^{2} - 1\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.17, size = 62, normalized size = 0.66 \begin {gather*} -\frac {1}{1260} \, {\left (3 \, {\left ({\left ({\left (12 \, {\left (20 \, {\left (3 \, x - 7\right )} x - 1007\right )} x - 16135\right )} x - 17072\right )} x - 23905\right )} x - 17392\right )} \sqrt {3 \, x^{2} + 2} - \frac {397}{18} \, \sqrt {3} \log \left (-\sqrt {3} x + \sqrt {3 \, x^{2} + 2}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.06, size = 75, normalized size = 0.80 \begin {gather*} -\frac {4 \left (3 x^{2}+2\right )^{\frac {5}{2}} x^{2}}{21}+\frac {4 \left (3 x^{2}+2\right )^{\frac {5}{2}} x}{9}+\frac {397 \left (3 x^{2}+2\right )^{\frac {3}{2}} x}{36}+\frac {397 \sqrt {3 x^{2}+2}\, x}{12}+\frac {397 \sqrt {3}\, \arcsinh \left (\frac {\sqrt {6}\, x}{2}\right )}{18}+\frac {1087 \left (3 x^{2}+2\right )^{\frac {5}{2}}}{315} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [A] time = 1.33, size = 74, normalized size = 0.79 \begin {gather*} -\frac {4}{21} \, {\left (3 \, x^{2} + 2\right )}^{\frac {5}{2}} x^{2} + \frac {4}{9} \, {\left (3 \, x^{2} + 2\right )}^{\frac {5}{2}} x + \frac {1087}{315} \, {\left (3 \, x^{2} + 2\right )}^{\frac {5}{2}} + \frac {397}{36} \, {\left (3 \, x^{2} + 2\right )}^{\frac {3}{2}} x + \frac {397}{12} \, \sqrt {3 \, x^{2} + 2} x + \frac {397}{18} \, \sqrt {3} \operatorname {arsinh}\left (\frac {1}{2} \, \sqrt {6} x\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.04, size = 55, normalized size = 0.59 \begin {gather*} \frac {397\,\sqrt {3}\,\mathrm {asinh}\left (\frac {\sqrt {6}\,x}{2}\right )}{18}+\frac {\sqrt {3}\,\sqrt {x^2+\frac {2}{3}}\,\left (-\frac {36\,x^6}{7}+12\,x^5+\frac {3021\,x^4}{35}+\frac {461\,x^3}{4}+\frac {4268\,x^2}{35}+\frac {683\,x}{4}+\frac {4348}{105}\right )}{3} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [A] time = 8.16, size = 129, normalized size = 1.37 \begin {gather*} - \frac {12 x^{6} \sqrt {3 x^{2} + 2}}{7} + 4 x^{5} \sqrt {3 x^{2} + 2} + \frac {1007 x^{4} \sqrt {3 x^{2} + 2}}{35} + \frac {461 x^{3} \sqrt {3 x^{2} + 2}}{12} + \frac {4268 x^{2} \sqrt {3 x^{2} + 2}}{105} + \frac {683 x \sqrt {3 x^{2} + 2}}{12} + \frac {4348 \sqrt {3 x^{2} + 2}}{315} + \frac {397 \sqrt {3} \operatorname {asinh}{\left (\frac {\sqrt {6} x}{2} \right )}}{18} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________